home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / var / lib / dpkg / info / evince.postinst < prev    next >
Text File  |  2009-11-03  |  872b  |  29 lines

  1. #!/bin/sh
  2.  
  3. set -e
  4.  
  5. # Automatically added by dh_installmenu
  6. if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
  7.     update-menus
  8. fi
  9. # End automatically added section
  10. # Automatically added by dh_installmime
  11. if [ "$1" = "configure" ] && [ -x "`which update-mime 2>/dev/null`" ]; then
  12.     update-mime
  13. fi
  14. # End automatically added section
  15. # Automatically added by dh_gconf
  16. if [ "$1" = "configure" ]; then
  17.     gconf-schemas --register evince-thumbnailer-comics.schemas evince-thumbnailer-djvu.schemas evince-thumbnailer-dvi.schemas evince-thumbnailer-ps.schemas evince-thumbnailer.schemas evince.schemas 
  18. fi
  19. # End automatically added section
  20.  
  21.  
  22. if [ "$1" = "configure" ]; then
  23.     APP_PROFILE="/etc/apparmor.d/usr.bin.evince"
  24.     if [ -f "$APP_PROFILE" ] && aa-status --enabled 2>/dev/null; then
  25.         apparmor_parser -r -T -W "$APP_PROFILE" || true
  26.     fi
  27. fi
  28.  
  29.